package com.dc.designPattern._4_builder.extend.improve;

import java.util.List;

/**
 * Description: 具体构造者_宝马车模型构造者
 * @author: gdc
 * @date: 2021/6/21
 * @version 1.0
 */
public class BmwBuilder implements CarBuilder {

    private BmwModel bmwCarModel = new BmwModel();

    @Override
    public void setSequence(List<String> sequence) {
        bmwCarModel.setSequence(sequence);
    }

    @Override
    public CarModel build() {
        return this.bmwCarModel;
    }
}
